<!-- 历史记录 -->

<template>
  <div class="RepairList-MyHistory">
    <MajorTitle title="历史记录" />

    <WebTable path="history" :list="history_select" :height="480" noPage>
      <RowDate label="创建日期" bind="createTime" />
      <RowText label="描述" bind="description" />
      <RowStatus :dict="add_GETTER.STATUS" />
      <RowSlot :width="60">
        <template #default="{ row }">
          <BtnText title="详情" @click="windowDetail(row)" />
        </template>
      </RowSlot>
    </WebTable>
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import mixDetailToTable from '@admin/components/detail/mixDetailToTable'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyHistory',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [
    mixDetailToTable('add', 'DetailRepair'),
    CORE.mixSelect('history', 'history_'),
  ],
}
</script>

<style lang="scss">
@import './index.scss';
</style>
